package com.quanyan.place.entity.apireq;

import java.io.Serializable;

/**
 * Created by Administrator on 2016/11/28.
 */
public class RespPlaceScale implements Serializable {
    private String scaleId;
    private String scaleName;

    public String getScaleId() {
        return scaleId;
    }

    public void setScaleId(String scaleId) {
        this.scaleId = scaleId;
    }

    public String getScaleName() {
        return scaleName;
    }

    public void setScaleName(String scaleName) {
        this.scaleName = scaleName;
    }


    public RespPlaceScale(){

    }
    public RespPlaceScale(String scaleId,String scaleName){
        this.scaleId = scaleId;
        this.scaleName = scaleName;
    }

    @Override
    public int hashCode() {
        String in = scaleId+scaleName;
        return in.hashCode();
    }

    @Override
    public boolean equals(Object obj) {
        RespPlaceScale  respPlaceScale = (RespPlaceScale)obj;
        return scaleId.equals(respPlaceScale.scaleId) && scaleName.equals(respPlaceScale.scaleName);
    }

}
